package scalapackage.testspark

/**
  * Created by Germmy on 2018/5/19.
  */
object TestBinarySearch {

  def main(args: Array[String]) {


//    val myArray:Array[(String,String,String)]=Array(("100","199","云南"),("201","299","上海"),("300","399","南京"))
    val myArray:Array[(String,String,String)]=Array(("1017134688","1017249791","云南"))

    val search: Int = TestIpCount.binarySearch(myArray,1017151557)

    println(search)


  }
}
